package com.lisy.demo.activity;


import android.app.Activity;
import android.os.Bundle;
import android.view.View;

import com.lisy.library.R;
import com.lisy.ui.ProgressDlg;

public class DialogActivity extends Activity{
    private ProgressDlg progressDlg;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_prglg);
        progressDlg = new ProgressDlg(this,"测试");
        findViewById(R.id.btn_show).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                progressDlg.show();
            }
        });
    }
}
